module.exports = {
    // 关闭 ESLint
    lintOnSave: false,

    // 代理跨域
    devServer: {
        proxy: {
            '/api': {
                target: 'http://localhost:8081', //api替换target
                // pathRewrite: {'^/api' : ''},
            },
        }
    },
    
}